package com.itheima.reggie.service;

import com.itheima.reggie.entity.Category;
import com.itheima.reggie.entity.Result;

public interface CategoryService {

    Result page(Integer page, Integer pageSize);

    void addCategory(Category category);

    void editCategory(Category category);

    void deleteCategory(Long id);

    Result findAllByType(Integer id);
}
